<?php

namespace App\Http\Controllers\Home;

use App\Http\Controllers\Controller;
use App\Model\ConfigModel;
use Illuminate\Http\Request;

class FaqController extends Controller
{
    public function index()
    {
        $data['seo'] =  ConfigModel::where('config_type','faq')
            ->first();
        $data['list'] = \DB::table('faq')
            ->get();
        return view('front.faq')->with('data',$data);
    }
}
